Skip to main content
Version: 12.10.0

Get All Consent API

This API will get the all consent data from the CMS.

AOK Config Files

  • Request Type : GET
  • End Point URL : /v1/getAllConsents
  • Authorization : basic_auth

Parameters :

ParameterDescription
aokid*AOK id is the AOK specefic unique id. It will filter the content and get the AOK specefic data.
pluginnamePlugin name when we are mapping features with JSON data
consentVersionFilter the data based on the Consent Version for the Consent
contentVersionFilter the data based on the Content Version for the Consent
Note :'*' Parameters are required
  • Sample URL : http://site_url/v1/getAllConsents?aokid=aokplus&pluginname=Navida Base Plugin Creation&consentVersion=1.0&contentVersion=1.0
  • Response Success Code : 200 OK
  • Sample Response
[
{
"consentID": 43,
"consentVersion": 1,
"contentVersion": 1.1,
"consentIcon": "http://20.79.214.38:3247/de/sites/default/files/aoklogo.svg",
"consentTitle": "My Consent Title",
"consentDescription": "<p>test 2</p>",
"compliances": [
{
"complianceID": "25",
"isMandatory": "true",
"title": "c1 test2",
"description": "<p>c1 test2 des</p>",
"actions": "Test|https://test.com"
}
]
},
{
"consentID": 42,
"consentVersion": 1.3,
"contentVersion": 1,
"consentIcon": "http://20.79.214.38:3247/de/sites/default/files/navidalogo_file.png",
"consentTitle": "<highlight>Test</highlight>\\ntest",
"consentDescription": "<p>major update</p><p>Updated other fields</p><p>deleted a paragraph</p><p>&nbsp;</p>",
"compliances": [
{
"complianceID": "23",
"isMandatory": "true",
"title": "c1 updated",
"description": "<p>Test des</p>",
"actions": ""
}
]
}
]